//
//  Thread+QueueBlock.h
//  YanXiuWang
//
//  Created by 慧趣小歪 on 16/11/16.
//  Copyright © 2016年 小分队. All rights reserved.
//

#import <Foundation/Foundation.h>

/// 主线程
void thread_main(_Nonnull dispatch_block_t queueBlock);
void thread_safe_main(_Nonnull dispatch_block_t queueBlock);

/// 子线程
void thread_global(_Nonnull dispatch_block_t queueBlock);
void thread_global_high(_Nonnull dispatch_block_t queueBlock);
void thread_global_low(_Nonnull dispatch_block_t queueBlock);

/// 后台线程
void thread_background(_Nonnull dispatch_block_t queueBlock);

/// 主线程延迟执行
void thread_main_after(NSTimeInterval delayInSeconds, _Nonnull dispatch_block_t queueBlock);


/// 子线程延迟执行
void thread_global_after(NSTimeInterval delayInSeconds, _Nonnull dispatch_block_t queueBlock);
